home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / dev / gui / ClassFree_src.lha / ClassFree_src / CFscrollerclass / debug.readme < prev    next >
Encoding:
Text File  |  1998-04-18  |  1.6 KB  |  56 lines

  1.  
  2.  debug.lib
  3.  
  4.  by Anders E. Andersen
  5.  
  6.  Contacting me:
  7.  
  8.  e-mail: <andersa@fys.ku.dk>
  9.  
  10.  Fidonet netmail: "Anders Ellenshoej" 2:236/29.6
  11.  
  12.  
  13.  Description:
  14.  
  15.  This is a (very :) small linked library in the object format
  16. for use when debugging exec shared libraries, devices or anything
  17. where you can't use normal stdio functions.
  18.  The library is intended for C programmers.
  19.  With the library you can open one or more simple console windows
  20. and print formated text strings with some stdio-like functions.
  21.  So what good is this you ask?
  22.  It is very hard to debug libraries because it is illegal to call
  23. dos.library functions from within a library and you can't use your
  24. compilers source-level debugger either. Therefore you can't know
  25. why your library fails if it has an error.
  26.  This linked library uses exec's RawDoFmt() and graphic.library's
  27. Text() to output to a normal intuition window. This is a fairly
  28. safe way to output simple variable values and other text.
  29.  
  30.  
  31.  Installation:
  32.  
  33.  Put the linked library "debug.lib" either where your source files
  34. are or alternatively in the directory where your compiler keeps
  35. it's linked libraries. There is already another library with the
  36. same name there, but the reason you are using this (my) debug.lib,
  37. is because you won't be using the other one.. :)
  38.  Put the header file "debug_protos.h" where your source files are.
  39.  
  40.  
  41.  Usage:
  42.  
  43.  Include the headerfile at the start of your source. Link your code
  44. with the debug.lib. See the documetn debug.doc for desciption of
  45. functions.
  46.  
  47.  
  48.  History:
  49.  
  50.  v0.10
  51.        First working version.
  52.  
  53.  v0.50
  54.        Revision bumb.
  55.        Fixed DLprintf, linefeed and carriage return.
  56.